package cn.cyl.basic.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 工具类：封装增删改的返回结果
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AjaxResult {

    private Boolean success=true;
    private String msg="操作成功";
    private Object obj;

    public AjaxResult(Boolean success, String msg) {
        this.success = success;
        this.msg = msg;
    }
}
